package com.yanqu.road.entity.unioncampwar.patrons;


import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;
import java.math.BigInteger;

/**
 * 锁定的商会所有门客
 */
@FieldTypeAnnotation(tableName = "t_u_union_camp_war_lock_patrons", autoSave = true)
public class UnionCampWarLockPatronsData extends DataObject {
    @FieldTypeAnnotation(desc = "商会id", select = true, update = true)
    private String unionId;
    @FieldTypeAnnotation(desc = "成员玩家id", update = true)
    private long userId;
    @FieldTypeAnnotation(desc = "更新时间weekId")
    private long updateTime;
    @FieldTypeAnnotation(desc = "门客id", update = true)
    private int patronsId;
    @FieldTypeAnnotation(desc = "门客等级")
    private int level;
    @FieldTypeAnnotation(desc = "门客皮肤")
    private int skin;
    @FieldTypeAnnotation(desc = "门客精进")
    private int star;
    @FieldTypeAnnotation(desc = "门客晋升")
    private int promotionId;
    @FieldTypeAnnotation(desc = "门客总品质")
    private int quality;
    @FieldTypeAnnotation(desc = "门客赚钱")
    private BigInteger ability = BigInteger.ZERO;

    public UnionCampWarLockPatronsData(String unionId, long userId, int patronsId) {
        this.unionId = unionId;
        this.userId = userId;
        this.patronsId = patronsId;
        setInsertOption();
    }

    public UnionCampWarLockPatronsData() {
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(long updateTime) {
        this.updateTime = updateTime;
        setUpdateOption();
    }

    public int getPatronsId() {
        return patronsId;
    }

    public void setPatronsId(int patronsId) {
        this.patronsId = patronsId;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getSkin() {
        return skin;
    }

    public void setSkin(int skin) {
        this.skin = skin;
    }

    public int getStar() {
        return star;
    }

    public void setStar(int star) {
        this.star = star;
    }

    public int getPromotionId() {
        return promotionId;
    }

    public void setPromotionId(int promotionId) {
        this.promotionId = promotionId;
    }

    public int getQuality() {
        return quality;
    }

    public void setQuality(int quality) {
        this.quality = quality;
    }

    public BigInteger getAbility() {
        return ability;
    }

    public void setAbility(BigInteger ability) {
        this.ability = ability;
    }
}
